//
// Created by caedmon on 2017/12/18 0018.
//

#include <stdio.h>
#include <string.h>
#define STLEN 3

void test_fputs(){
    char words[STLEN];
    puts("Enter a string, please.");
    fgets(words, STLEN, stdin);
    printf("your string twice (puts(), then fputs()):\n");
    puts(words);
    fputs(words, stdout);
    puts("\n");
    printf("words's length is : %d", strlen(words));

}